<div class="btn-group pull-right">
    <a class="btn btn-primary dropdown-toggle" data-toggle="dropdown" href="javascript:void(0)">
        <i class="icon-user icon-white"></i> <?php echo $this->userProfile['firstname'] . ' ' .$this->userProfile['lastname']; ?> <span class="caret"></span>
    </a>
    <ul class="dropdown-menu">
        <li><a href="<?php echo $this->url(array('module' => 'admin', 'controller' => 'users', 'action' => 'profile')); ?>">Profile</a></li>
        <li class="divider"></li>
        <li><a href="<?php echo $this->url(array('module' => 'admin', 'controller' => 'auth', 'action' => 'logout')); ?>">Sign Out</a></li>
    </ul>
</div>